//
//  NSDictionary+Description.m
//  xml测试
//
//  Created by 盛青 on 16/4/1.
//  Copyright © 2016年 孟祥京. All rights reserved.
//

#import "NSDictionary+Description.h"

@implementation NSDictionary (Description)

- (NSString *)descriptionWithLocale:(id)locale
{
    NSMutableString *str = [NSMutableString stringWithString:@"{\n"];
    
    [self enumerateKeysAndObjectsUsingBlock:^(id  _Nonnull key, id  _Nonnull obj, BOOL * _Nonnull stop) {
        [str appendFormat:@"\t%@ = %@;\n",key,obj];
    }];
    [str appendFormat:@"}\n"];
    return str;
}

@end
